home *** CD-ROM | disk | FTP | other *** search
/ PowerQuest 2002 / PowerQuest 2002.iso / POWERQUEST / PQ ServerMagic 4.0 / DOCS / SCRIPTS / Cluster.pqs next >
Encoding:
Text File  |  2000-10-25  |  799 b   |  27 lines

  1. // PartitionMagic Script File
  2.  
  3. // This script file is an example of performing a cluster analysis and setting
  4. // the cluster size of selected partitions.
  5.  
  6. // Scenario:
  7. // A disk contains two primary FAT partitions.
  8. //
  9. // The user wishes to view an analysis of the partitions, set the cluster size
  10. // of the first partition to 16K and set the cluster size of the second
  11. // partition to whatever PartitionMagic recommends.
  12.  
  13. // Show a cluster analysis of the first partition
  14. Select Disk 1
  15. Select Partition 1
  16. Cluster Analyzer
  17.  
  18. // Set the cluster size to 16K
  19. Cluster Analyzer /SetClusterSize=16
  20.  
  21. // Show a cluster analysis of the second partition
  22. Select Partition 2
  23. Cluster Analyzer
  24.  
  25. // Set the cluster size to the recommended value
  26. Cluster Analyzer /SetClusterSize=Recommended
  27.